package java_DesignPattern.BehavioralPattern.TemplateMethodPattern;

/**
 * 模板方法---测试类
 */
public class Test {

    public static void main(String[] args) {

        //定义子类对象
        Template template = new Yan();
        template.templateMethod();
    }
}
